package com.yunxi.vip.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.core.web.ResponseUtil;
import com.yunxi.vip.pojo.VipApplyVO;
import com.yunxi.vip.pojo.VipVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class VipApplyDubooServiceMock implements VipApplyDubboService {
    @Override
    public VipApplyVO getById(String id) throws InvocationTargetException, IllegalAccessException {
        return null;
    }

    @Override
    public void saveOrUpdate(VipApplyVO vipApplyVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<VipApplyVO> findPageByVO(VipApplyVO vipApplyVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<VipApplyVO> p = new PageInfo<VipApplyVO>();
        List list = new ArrayList();
        VipApplyVO v = new VipApplyVO();
        v.setVipName("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public void removeByListVo(List<VipApplyVO> vipApplyVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public List listByVo(VipApplyVO vipApplyVO) {
        List list = new ArrayList();
        VipApplyVO v = new VipApplyVO();
        v.setVipName("暂无数据");
        list.add(v);
        return list;
    }

    @Override
    public ApiResult saveCas(VipApplyVO vipApplyVO, LoginInfo loginInfo) {
        return ResponseUtil.fail900();
    }

    @Override
    public void removeByVoId(VipApplyVO vipApplyVO) {

    }

    @Override
    public ApiResult apply(VipApplyVO vipApplyVO, LoginInfo loginInfo) {
        return ResponseUtil.fail900();
    }

    @Override
    public PageInfo<VipApplyVO> pageWait(VipApplyVO vipApplyVO, Integer pageNum, Integer pageSize, LoginInfo loginInfo) {
        PageInfo<VipApplyVO> p = new PageInfo<VipApplyVO>();
        List list = new ArrayList();
        VipApplyVO v = new VipApplyVO();
        v.setVipName("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public void next(VipApplyVO vipApplyVO, LoginInfo loginInfo) {

    }

    @Override
    public VipApplyVO getByCas(String applyId) {
        return null;
    }

    @Override
    public ApiResult relateVehicle(String lsdh) {
        return ResponseUtil.fail900();
    }

    @Override
    public void b2b(VipApplyVO vipApplyVO, LoginInfo loginInfo) {

    }

    @Override
    public VipVO getVipByOrderCustomerNo(String orderCustomerNo) {
        return null;
    }

    @Override
    public void saveAttach(VipApplyVO vipApplyVO, LoginInfo loginInfo) {

    }

    @Override
    public VipVO getByVin(String vin) {
        return null;
    }

    @Override
    public PageInfo<VipApplyVO> pageDone(VipApplyVO vipApplyVO, Integer pageNum, Integer pageSize, LoginInfo loginInfo) {
        PageInfo<VipApplyVO> p = new PageInfo<VipApplyVO>();
        List list = new ArrayList();
        VipApplyVO v = new VipApplyVO();
        v.setVipName("暂无数据");
        list.add(v);
        p.setList(list);
        return p;
    }

    @Override
    public void updateDiscount(VipApplyVO vipApplyVO) {

    }
}
